<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
  </head>
  <body>
  <div id="admin-menu">
  <ul>
    <li class="expandable"><a href="#">Korisnici</a>
      <ul style="left: -999em; display: none;">
        <li><?php echo link_to('admini','admin/index') ?></li>
        <li><?php echo link_to('upravnici','upravnik/index') ?></li>
        <li><?php echo link_to('profesori','profesor/index') ?></li>
        <li><?php echo link_to('učenici','ucenik/index') ?></li>
        <li><?php echo link_to('roditelji','roditelj/index') ?></li>
        <li><?php echo link_to('operateri','operater/index') ?></li>
      </ul>
    </li>
    <li class="expandable"><a href="#">Škole</a>
      <ul style="left: -999em; display: none;">
        <li><?php echo link_to('škole','skola/index') ?></li>
        <li><?php echo link_to('smerovi','smer/index') ?></li>
        <li><?php echo link_to('razredi','razred/index') ?></li>
      </ul>
    </li>
    <li class="expandable"><a href="#">Podaci</a>
      <ul style="left: -999em; display: none;">
        <li><?php echo link_to('ocene','ocena/index') ?></li>
        <li><?php echo link_to('časovi','cas/index') ?></li>
        <li><?php echo link_to('izostanci','izostanak/index') ?></li>
        <li><?php echo link_to('domaći','domaci/index') ?></li>
        <li><?php echo link_to('rasporedi','raspored/index') ?></li>
        <li><?php echo link_to('zakljucne','zakljucna/index') ?></li>
        <li><?php echo link_to('poruke','poruka/index') ?></li>
      </ul>
    </li>
    <li class="expandable"><a href="#">Sitnice</a>
      <ul style="left: -999em; display: none;">
        <li><?php echo link_to('predmeti','predmet/index') ?></li>
        <li><?php echo link_to('tipske ocene','tipska/index') ?></li>
        <li><?php echo link_to('unos planova','plan_rada/unos') ?></li>
        <li><?php echo link_to('planovi rada','plan_rada/index') ?></li>
        <li><?php echo link_to('import','utils/import') ?></li>
        <li><?php echo link_to('opisi','opis/index') ?></li>
        <li><?php echo link_to('novosti','novost/index') ?></li>
        <li><?php echo link_to('opisi škola','skola_opis/index') ?></li>
        <li><?php echo link_to('podesavanja','settings/index') ?></li>
      </ul>
    </li>
    <li class="expandable"><a href="#">Statistike</a>
      <ul style="left: -999em; display: none;">
        <li><?php echo link_to('Sms','statistika/sms') ?></li>
        <li><?php echo link_to('Uplata','statistika/uplata') ?></li>
      </ul>
    </li>
    <?php $broj = GreskaPeer::neprocitane(); ?>
    <li><?php echo link_to('predlozi/greške'.(($broj) ? '('.$broj.')' : ''), 'greska/pregled', array('style' => (($broj) ? 'font-weight: 700;' : ''))) ?></li>
    <li><?php echo link_to('članarina','clanarina/index') ?></li>
    <li><?php echo link_to('Logout','user/logout') ?></li>
  </ul>
  </div>
  <div class="main_content">
    <?php echo $sf_content ?>
  </div><div id="datum_rod"></div>
  </body>
</html>
